Mainframe Bill Audit: for your IT staff

What your IT desk must allow for this evaluation program is 2 executables and 1 script, plus its DLLs if you control those, because it runs from one folder with no installer, no administrator rights and no network access. Below are the files to allow, what the program reads and writes, how to delete it and its command line. It checks an IBM software invoice against the site's own reports.

1. What it is

Mainframe Bill Audit, by Digent LLC (https://mainframebillaudit.com), checks an IBM mainframe software invoice against the site's own SCRT (Sub-Capacity Reporting Tool) reports and writes a report the user opens in a browser. An analyst in your organization would like to evaluate it.

It is built for 64-bit Windows 10 and 11. Before publication this build was downloaded, extracted, started, given a key and used for the demo and an audit of the sample files on Windows Server 2022, by a standard user without administrator rights. It has not yet been run on a Windows 10 or 11 desktop.

2. What it needs

3. What it does not do

It opens no network connection of any kind. There is no telemetry, no update check and no license server; keys are checked offline against a public key built into the program. Reports load only a font file from the program folder. The links in a report to IBM announcement pages open only if the user clicks them.

4. What is in the folder

The folder holds Start Here, Python's official Windows package from python.org with the one addition described below, Digent's compiled program and its documentation. Nothing else.

ItemWhat it is
Start Here.cmd34 lines of plain text, shown below. It starts the setup window.
program\python\Python 3.13.16: python.org's official Windows embeddable package, unchanged except one added line (Lib) in its path file python313._pth, plus the Tk window toolkit files from python.org's installer for the same release (tcltk.msi). The executables and DLLs carry the Python Software Foundation's Authenticode signature. The build checks both downloads against these SHA-256 values; the first is the one python.org publishes on the release page:
FileFromSHA-256
python-3.13.16-embed-amd64.ziphttps://www.python.org/ftp/python/3.13.16/python-3.13.16-embed-amd64.zip97dae5274cc54867065e8d5a3226e48c35017ed332a0fdb0e27d5b5821961297
tcltk.msihttps://www.python.org/ftp/python/3.13.16/amd64/tcltk.msi968fc0acb37c42439ae4cf96181ee2e8148a89a22707414d980f7a2a84c2e67b
ItemWhat it is
program\frontdoor.pyc, program\lib\py313\ibmbill\*.pycDigent's program, compiled Python bytecode (not signed).
program\mba.pyThe 26-line command-line launcher, plain text, with no audit logic.
program\sample-inputs\, RUNBOOK.md, README.txtA synthetic example month and the documentation.
program\SHA256SUMS.txtThe SHA-256 of every file in program and of Start Here.cmd, for checking or for hash rules. The guide and this note are documents and are not listed.
@echo off
rem Mainframe Bill Audit: opens the setup helper window. Nothing is installed; nothing connects to the internet.
if not exist "%~dp0program\python\pythonw.exe" goto notextracted
if not exist "%~dp0program\frontdoor.pyc" goto incomplete
start "" "%~dp0program\python\pythonw.exe" "%~dp0program\frontdoor.pyc"
exit /b 0
:incomplete
echo.
echo   A file Mainframe Bill Audit needs is missing from this folder.
echo.
echo   1. Close this window. Keep this folder: it may hold your saved reports.
echo   2. Right-click the zip file you downloaded, choose "Extract All...", choose a new folder,
echo      then click Extract. Wait until the extraction window closes by itself.
echo   3. Open the Mainframe Bill Audit folder inside the new folder and double-click "Start Here".
echo.
echo   If this happens again, your PC's security software may be removing the file. Give the page
echo   "For your IT staff" (in this folder) to your IT desk.
echo.
pause
exit /b 1
:notextracted
echo.
echo   Mainframe Bill Audit cannot start from inside the zip file.
echo.
echo   1. Close this window.
echo   2. Find the zip file you downloaded (usually in your Downloads folder).
echo   3. Right-click it, choose "Extract All...", then click Extract.
echo   4. In the extracted folder, open the Mainframe Bill Audit folder. Find "Start Here"
echo      (it may appear as Start Here.cmd) and double-click it.
echo.
echo   If you already extracted it, extract it again into a new folder and wait until the
echo   extraction window closes by itself. Your PC's security software may have removed a file.
echo.
pause

5. What to allow, narrowly

What a policy needs depends on what it controls. The executables are program\python\pythonw.exe, which shows the window, and program\python\python.exe, which runs the audit hidden. The one script is Start Here.cmd. Where DLL rules are enforced, add the .dll and .pyd files in program\python. Allow them by SHA-256, all listed in program\SHA256SUMS.txt, or by path for the folder the user extracted. A hash or path rule is narrower than trusting the Python Software Foundation's signature, which would also allow any other copy of Python. Note what an allow rule does and does not establish: the PSF signature vouches for Python, not for Digent's compiled program files, which are unsigned and are identified only by the hashes in SHA256SUMS.txt.

6. Removing it

Delete the extracted folder, %USERPROFILE%\.mainframe-bill-audit and, if it exists, %LOCALAPPDATA%\Mainframe Bill Audit. Nothing else is left behind.

7. The command line

Every function is also available from a command prompt in the program folder: python\python.exe mba.py --help, python\python.exe mba.py demo demo-month, python\python.exe mba.py audit <month-folder> <output-folder>. RUNBOOK.md lists every input file and command. A key can be given with --license-file <file>.

Questions: cco@digent.net. Terms: https://mainframebillaudit.com/terms